#ifndef CUSTOMER_H_
#define CUSTOMER_H_

#include <string>
#include <sstream>

// other types
#include "Address.h"		//uncomment once you have added the type definition

using namespace std;

struct Customer {
public:
	// constructors
	Customer (int id, string n, Address a)	//uncomment once you have added the type definition
		: cust_id(id), cust_name(n), addr(a) {}

   // utility functions
	string display() const
	{
		stringstream str;
		str << cust_id << "\t" << cust_name << "\t" << addr.display();
		return str.str();
	}
	
	int getcustid() {
		return cust_id;
	}
	
	string getcustname() {
		return cust_name;
	}
	
	Address getaddr() {
		return addr;
	}
	
//private:
   //constants
     
   // private data
	int cust_id;
	string cust_name;
	Address addr;			//uncomment once you have added the type definition
};


#endif //CUSTOMER_H_
